export default function addEvent(target, type, handler, config) {
    target.addEventListener(type, handler, config);
}